﻿Imports AutoCAD

''' <summary>
''' CAD图元数据服务
''' </summary>
Public Interface ICadEntityService

    ''' <summary>
    ''' 获取包围盒
    ''' </summary>
    ''' <param name="ent"></param>
    ''' <returns></returns>
    Function GetBBox(ByRef ent As AcadEntity) As Double(,)

    ''' <summary>
    ''' 获取质心
    ''' </summary>
    ''' <param name="ent"></param>
    ''' <returns></returns>
    Function GetCentroid(ByRef ent As AcadEntity) As Double()



End Interface
